package com.Cost.mapper;

import com.Cost.entity.Cost;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CostMapper {

    int insert(Cost cost);

    int update(Cost cost);

    int delete(Cost cost);

    Cost selectOne(Cost cost);

    List<Cost> selectAll();

    List<Cost> selectStatisList();

    List<Cost> selectByCondition(Cost cost);
}